<div id="area-line1" style="height: 100%">

</div>
<script type="text/javascript">
    $(function () {
        var myChart = echarts.init(document.getElementById('area-line1'), 'macarons');
        var option = {
            title: {
                text: '库存周转率'
                , show: false
            },
            tooltip: {
                trigger: 'axis',
                formatter: function (params) {
                    return params[0].name + "<br/>" + params[0].value + "%";
                },
                axisPointer: {
                    animation: false
                }
            }, grid: {
                top: 20,
                left: 20,
                right: 20,
                bottom: 20,
                containLabel: true
            },
            xAxis: {
                type: 'category',
                boundaryGap: false,
                data: ['一季度', '二季度', '三季度', '四季度'],
                axisLabel: {
                    textStyle:{
                        color:"#595959"
                    }
                },
                axisLine: {
                    show: false
                },
                axisTick: {
                    show: false
                },
            },
            yAxis: {
                type: 'value',
                axisLine: {
                    show: false
                },
                axisTick: {
                    show: false
                },
                axisLabel: {
                    formatter: function(value){
                        var var1=value*1;
                        return var1;
                    },
                    textStyle:{
                        color:"#595959"
                    }
                },
                splitLine:{
                    show:true
                },
                splitArea: {
                    show:true,
                    areaStyle: {
                        color: ['rgba(0,0,0,0)', 'rgba(0,0,0,0)']
                    }
                },
            },
            series: [{
                name: '库存周转率',
                type: 'line',
                showSymbol: false,
                hoverAnimation: false,
                data: [89, 80, 70, 95]
            }]
        };
        myChart.setOption(option);
    });
</script>


